﻿using System;
namespace ChinaSoft.Model
{
	/// <summary>
	/// 系统用户表
	/// </summary>
	[Serializable]
	public partial class Model_tb_MidSoft_Users
	{
		public Model_tb_MidSoft_Users()
		{}
		#region Model
		private int _usersid;
		private string _useraccount;
		private string _userpassword;
		private string _username;
		private string _userimgfolder;
		private string _userimgpath;
		private string _company;
		private string _department;
		private string _sex;
		private DateTime? _birthday;
		private string _tel;
		private string _duty;
		private DateTime _createtime= DateTime.Now;
		private int _createuserid;
		private int _state=1;
		/// <summary>
		/// 表主键
		/// </summary>
		public int UsersId
		{
			set{ _usersid=value;}
			get{return _usersid;}
		}
		/// <summary>
		/// 用户帐号
		/// </summary>
		public string UserAccount
		{
			set{ _useraccount=value;}
			get{return _useraccount;}
		}
		/// <summary>
		/// 用户密码
		/// </summary>
		public string UserPassword
		{
			set{ _userpassword=value;}
			get{return _userpassword;}
		}
		/// <summary>
		/// 用户名
		/// </summary>
		public string UserName
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 用户照片路径（当前年月201202）
		/// </summary>
		public string UserImgFolder
		{
			set{ _userimgfolder=value;}
			get{return _userimgfolder;}
		}
		/// <summary>
		/// 用户照片名
		/// </summary>
		public string UserImgPath
		{
			set{ _userimgpath=value;}
			get{return _userimgpath;}
		}
		/// <summary>
		/// 单位名
		/// </summary>
		public string Company
		{
			set{ _company=value;}
			get{return _company;}
		}
		/// <summary>
		/// 部门
		/// </summary>
		public string DepartMent
		{
			set{ _department=value;}
			get{return _department;}
		}
		/// <summary>
		/// 性别
		/// </summary>
		public string Sex
		{
			set{ _sex=value;}
			get{return _sex;}
		}
		/// <summary>
		/// 出生日期
		/// </summary>
		public DateTime? BirthDay
		{
			set{ _birthday=value;}
			get{return _birthday;}
		}
		/// <summary>
		/// 联系电话
		/// </summary>
		public string Tel
		{
			set{ _tel=value;}
			get{return _tel;}
		}
		/// <summary>
		/// 职务
		/// </summary>
		public string Duty
		{
			set{ _duty=value;}
			get{return _duty;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 创建人ID
		/// </summary>
		public int CreateUserId
		{
			set{ _createuserid=value;}
			get{return _createuserid;}
		}
		/// <summary>
		/// 用户状态(默认为1,禁用;0为启用)
		/// </summary>
		public int State
		{
			set{ _state=value;}
			get{return _state;}
		}
		#endregion Model

	}
}

